package cn.wen.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author FY
 * @since 2022-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CommentParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long solutionId;

    private String solutionName;

    private Long discussId;

    private String discussName;

    private Integer parentId;

    private Integer toUid;

    private Integer level;

    private Long userId;

    private Date updateTime;

    private Date createTime;

    private Integer commentStatus;

    private Integer commentOwner;

    private Integer commentLike;

    private String commentContext;

    private String belongUsername;

    private String userAvatar;

    private List<CommentParam> replyComments = new ArrayList<>();

    private CommentParam parentComment;


}
